/*
 * @Descripttion: 
 * @version: 
 * @Author: 高月飞
 * @Date: 2023-11-19 14:01:10
 * @LastEditors: 高月飞
 * @LastEditTime: 2023-11-20 19:23:32
 */
export const successMessage = (message: string, onClose: () => void, duration: number) => {
    ElMessage({
        message,
        type: 'success',
        duration,
        showClose: true,
        onClose,

    })

}
import { ElMessage } from "element-plus";